package first.endtoend

/**
 * Created with IntelliJ IDEA.
 * User1: user
 * Date: 07/03/13
 * Time: 16:11
 * To change this template use File | Settings | File Templates.
 */
class Transaction
{
    String tagId
    FamilyView family
    double latitude
    double longitude
    float precision
    Date date
    String photo
    //Agent agent

    class FamilyView
    {
        long id
        BeneficiaryView beneficiarySelected
        PortfolioView portfolio
    }

    class BeneficiaryView
    {
        long id
    }

    class PortfolioView
    {
        long id
        List<PortfolioDetailsView> details

    }

    class PortfolioDetailsView
    {
        long id
        double quantityWished
    }
}
